module.exports = {
  presets: [
    [
      "@babel/preset-env",
      {
        targets: {
          edge: "17",
          firefox: "60",
          chrome: "67",
          safari: "11.1",
        }, // 兼容浏览器的信息
        useBuiltIns: "usage", // 按需导入，用到那个导入那个
        corejs: "3.46.0",
      },
    ],
  ],
  // plugins: ["@babel/plugin-transform-optional-chaining"],
};
